<%--
  Created by IntelliJ IDEA.
  User: 付万星
  Date: 2024/12/8
  Time: 10:49
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<style>
    body {
        font-family: Arial, sans-serif;
        background-color: #f4f4f4;
        margin: 0;
        padding: 20px;
        color: #333;
    }
    h1 {
        text-align: center;
        color: #555;
        margin-bottom: 20px;
    }
    table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
        background-color: #fff;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
    table th, table td {
        padding: 12px;
        border: 1px solid #ddd;
        text-align: left;
    }
    table th {
        background-color: #f2f2f2;
    }
    table tr:nth-child(even) {
        background-color: #f9f9f9;
    }
    table tr:hover {
        background-color: #f1f1f1;
    }
</style>
<head>
    <title>普通用户页面</title>
</head>
<body>
<h1>全部理发师</h1>
<table border="1">
    <c:forEach var="barber" items="${barberList}">
        <tr>
            <td>${barber.id}</td>
            <td>${barber.name}</td>
            <td>${barber.packages}</td>
            <td>${barber.price}</td>
            <td>${barber.time}</td>
        </tr>
    </c:forEach>
</table>
</body>
</html>
